html, body {
	margin: 0;
	padding: 0;
	background: #eee;
	height: 100%;
}

#container {
	width: 950px;
	position: relative;
	min-height: 100%;
	margin: 0 auto 0 auto;
	background: #fff;
	border: 3px solid #ddd;
	border-top-width: 0;
	border-bottom-width: 0;
}

#masthead {
	padding-top: 15px;
}

a#logo {
	float: left;
	margin: 0 10px 20px 30px;
}
a#logo img {
	border-style: none;
}

#topnav {
	float: right;
}

ul#topnav, ul#topnav li ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font: bold 95% Helvetica, sans-serif;
	background-color: #fff;
}
ul#topnav li.topnav-box {
	float: left;
	width: 130px; /* Width of icon */
	height: 2.5em; /* At least height of text */
	padding-top: 100px;
	border-left: 1px dotted #bbb;
	text-align: center;
}

#nav1 {
	background: url(common/nav1a.png) 15px 0 no-repeat;
}
#nav1:hover {
	background: url(common/nav1.png) 15px 0 no-repeat;
}
#nav2 {
	background: url(common/nav2a.png) 15px 0 no-repeat;
}
#nav2:hover {
	background: url(common/nav2.png) 15px 0 no-repeat;
}
#nav3 {
	background: url(common/nav3a.png) 15px 0 no-repeat;
}
#nav3:hover {
	background: url(common/nav3.png) 15px 0 no-repeat;
}

ul#topnav li ul.topnav-menu { /* Submenu */
	position: absolute;
	margin-left: -9000em;
}
ul#topnav li:hover ul.topnav-menu { /* Submenu on hover */
	margin: -1px 0 0 -1px;
	padding: 1em 15px 0.5em 15px;
	border: 1px dotted #b3b3b3;
	border-top-width: 0;
	border-right-width: 0;
	z-index: 99; /* Fix to show submenu above main content */
	text-align: left;
	min-width: 100px;
}

ul.topnav-menu li {
	margin-bottom: 0.2em;
}

ul#topnav a { /* Link */
	color: #555;
	text-decoration: none;
}
ul#topnav a:hover { /* Link hover */
	color: #e8a321;
}



#content {
	font: 85%/1.6em Helvetica, sans-serif;
	color: #333;
	padding-bottom: 2em; /* footer height */
}

/* Wrappers are necessary to maintain equal height columns */
/* <http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks> */
#col2-wrap { /* Outer */
	width: 100%;
	overflow: hidden;
	clear: both;
}
#col1-wrap { /* Inner */
	width: 100%;
	position: relative;
	right: 260px; /* col2 width */
	margin-bottom: 1em;
}
#col1 {
	float: left;
	width: 690px; /* (page width) - (col2 width) */
	position: relative;
	left: 260px; /* col2 width */
	overflow: hidden;
}
#col2 {
	float: left;
	width: 260px;
	position: relative;
	left: 260px; /* col2 width */
	overflow: hidden;
}
#mainbar {
	padding: 0 2em 0.5em 2em;
}
#sidebar {
	border: 1px solid #b3b3b3;
	border-right-width: 0;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	
	padding: 0.5em 1em 0.5em 1em;
	margin: 1em 1.5em 0 0;
}


#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	border-top: 1px dotted #bbb;
	font: 80% Helvetica, sans-serif;
}
#footer-content {
	padding: 0.5em 1em 0.5em 1em;
}

#gallery {
	position: relative;
	width: 950px;
	height: 400px;
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	border: 1px solid #bbb;
	border-right-width: 0;
	border-left-width: 0;
}
.gtext {
	position: absolute;
	top: 260px;
	left: 100px;
	width: 400px;
	padding: 0 2em 1em 2em;
	background: rgb(255, 255, 255); /* fallback for IE: <http://css-tricks.com/ie-background-rgb-bug/> */
	background: rgba(255, 255, 255, 0.85);
	line-height: 1.3em;

	border-radius: 10px;
	-moz-border-radius: 10px;
}


/* Inline formatting */

#content a {
	text-decoration: none;
	color: #e8a321;
}
#content a:hover {
	color: #333;
}
#content h1, #content h2, #content h3 {
	margin-bottom: 0.4em;
}
